<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>.: Pharma :. | <tiles:getAsString name="title"/></title>
<script src="<%= request.getContextPath()%>/js/pharma.js" type="text/javascript"></script>
<script src="<%= request.getContextPath()%>/js/HisLibrary.js" type="text/javascript"></script>
<script src="<%= request.getContextPath()%>/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

<link href="<%= request.getContextPath()%>/css/pharma.css" rel="stylesheet" type="text/css" />
<link href="<%= request.getContextPath()%>/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="<%= request.getContextPath()%>/displaytag/css/style.css" rel=stylesheet type="text/css">

<tiles:useAttribute id="listJs" name="jsfilesList" classname="java.util.List" />
<c:forEach var="jsfileName" items="${listJs}">
    <script src="<%=request.getContextPath()%><c:out value='${jsfileName}' />" type="text/javascript"></script>
</c:forEach>
<tiles:useAttribute id="listCss" name="cssfilesList" classname="java.util.List" />
<c:forEach var="cssfileName" items="${listCss}">
    <link href="<%= request.getContextPath()%><c:out value='${cssfileName}' />" rel="stylesheet" type="text/css" />
</c:forEach>
</head>
<body>
<table cellpadding="0" cellspacing="0" width="800px" height="600px" align="center" class="Pagina" >
  <tr>
    <td align="center" valign="middle" height="77px" >
      <tiles:insertAttribute name="header"/>
    </td>
  </tr>
  <tr >
    <td align="center" valign="middle">
      <tiles:insertAttribute name="body"/>
    </td>
  </tr>
  <tr>
    <td class="PiePagina">
      <tiles:insertAttribute name="footer"/>
    </td>
  </tr>
</table>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>